<?php include_once 'photo_header.php';?>
<!--主体内容-->
<div class="main">
	<?php include_once 'photo_left.php';?>
	
	<div class="photo_right">
	<?php  foreach($info_new as $key => $val){ ?>
    	<div class="photo_index">
        	<div class="photo_index_user"><img src="<?php echo $val[0]['face'];?>" /></div>
            <div class="photo_index_list">
            	<div class="photo_index_title"><a href="###"><?php echo $key;?>：</a>上传了 <?php echo count($val)?> 张照片到相册
				<a href="index.php?mod=photo&code=album&id=<?php echo $val[0]['id'];?>">"<?php echo $val[0]['title']?>"</a></div>
                <ul class="photo_index_ul">
			<?php for( $i=0; $i<4; $i++){ ?>
                <li><a href="index.php?mod=photo&code=album&id=<?php echo $val[$i]['id'];?>"><img src="upload/photo/<?php echo $val[$i]['picUrl'];?>" /></a></li>
            <?php } ?>
            	<div class="float_both"></div>
                </ul>
                <div class="photo_index_date"><span><a href="###">评论(<?php echo  $val[0]['comm_count'];?>)</a></span><?php echo $val[0]['addTime'];?> 发布</div>
            </div>
            <div class="float_both"></div>
        </div>
	<?php } ?>
    </div>
    <div class="float_both"></div>
</div>
<!--底部-->
<?php include_once 'footer.php';?>
